package main

import (
	"github.com/kataras/iris"
	"github.com/kataras/iris/mvc"
	"iris-cirsm/web/controller"
)

func main() {
	app := iris.New()
	app.Logger().SetLevel("debug")
	app.RegisterView(iris.HTML("./web/views", ".html"))

	mvc.New(app.Party("/cat")).Handle(new(controller.CatController))
	_ = app.Run(iris.Addr("localhost:6016"))
}
